.Net Framework > v2.0.50727 > System > Xml > Serialization > XmlSerializerFactory > CreateSerializer CreateSerializer(Type)
CreateSerializer(Type,String)
CreateSerializer(Type,Type[])
CreateSerializer(Type,XmlAttributeOverrides)
CreateSerializer(Type,XmlAttributeOverrides,Type[],XmlRootAttribute,String)
CreateSerializer(Type,XmlAttributeOverrides,Type[],XmlRootAttribute,String,String,Evidence)
CreateSerializer(Type,XmlRootAttribute)
CreateSerializer(XmlTypeMapping)


CreateSerializer(Type)

Category
Method
Description
Returns a derivation of the System.Xml.Serialization.XmlSerializerFactory class that is used to serialize the specified type.
Type
XmlSerializer
Character
public
Parameters
NameTypeDescription
typeType
Tags
01892ABD01, 02E3ABA98D, 0376596F91

CreateSerializer(Type,String)

Category
Method
Description
Returns a derivation of the System.Xml.Serialization.XmlSerializerFactory class that is used to serialize the specified type and namespace.
Type
XmlSerializer
Character
public
Parameters
NameTypeDescription
typeType
defaultNamespaceString
Tags
01892ABD01, 02E3ABA98D, 0376596F91

CreateSerializer(Type,Type[])

Category
Method
Description
Returns a derivation of the System.Xml.Serialization.XmlSerializerFactory class that is used to serialize the specified type. If a property or field returns an array, the extraTypes parameter specifies objects that can be inserted into the array.
Type
XmlSerializer
Character
public
Parameters
NameTypeDescription
typeType
extraTypesType[]
Tags
01892ABD01, 02E3ABA98D, 0376596F91

CreateSerializer(Type,XmlAttributeOverrides)

Category
Method
Description
Returns a derivation of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the specified type into XML documents, and vice versa. Each object to be serialized can itself contain instances of classes, which this overload can override with other classes.
Type
XmlSerializer
Character
public
Parameters
NameTypeDescription
typeType
overridesXmlAttributeOverrides
Tags
01892ABD01, 02E3ABA98D, 0376596F91

CreateSerializer(Type,XmlAttributeOverrides,Type[],XmlRootAttribute,String)

Category
Method
Description
Returns a derivation of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the specified type into XML document instances, and vice versa. Each object to be serialized can itself contain instances of classes, which this overload can override with other classes. This overload also specifies the default namespace for all the XML elements, and the class to use as the XML root element.
Type
XmlSerializer
Character
public
Parameters
NameTypeDescription
typeType
overridesXmlAttributeOverrides
extraTypesType[]
rootXmlRootAttribute
defaultNamespaceString
Tags
01892ABD01, 02E3ABA98D, 0376596F91

CreateSerializer(Type,XmlAttributeOverrides,Type[],XmlRootAttribute,String,String,Evidence)

Category
Method
Description
Returns a derivation of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the specified type into XML document instances, and vice versa. Each object to be serialized can itself contain instances of classes, which this overload can override with other classes. This overload also specifies the default namespace for all the XML elements, and the class to use as the XML root element.
Type
XmlSerializer
Character
public
Parameters
NameTypeDescription
typeType
overridesXmlAttributeOverrides
extraTypesType[]
rootXmlRootAttribute
defaultNamespaceString
locationString
evidenceEvidence
Tags
01892ABD01, 02E3ABA98D, 0376596F91

CreateSerializer(Type,XmlRootAttribute)

Category
Method
Description
Returns a derivation of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the specified type into XML documents, and vice versa. Specifies the object that represents the XML root element.
Type
XmlSerializer
Character
public
Parameters
NameTypeDescription
typeType
rootXmlRootAttribute
Tags
01892ABD01, 02E3ABA98D, 0376596F91

CreateSerializer(XmlTypeMapping)

Category
Method
Description
Returns a derivation of the System.Xml.Serialization.XmlSerializerFactory class using an object that maps one type to another.
Type
XmlSerializer
Character
public
Parameters
NameTypeDescription
xmlTypeMappingXmlTypeMapping
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database